package com.joyer.core.valid;

import java.util.Map;

/**
 * User: zhiweifan
 * Date: 2014/10/13
 * Time: 13:29
 */
public class ValidatedStatusEntry {
    private boolean hasErrors;//标记参数是否有错
    private Map<String,Object> result;//如果参数不合法返回的错误消息

    public boolean isHasErrors() {
        return hasErrors;
    }

    public void setHasErrors(boolean hasErrors) {
        this.hasErrors = hasErrors;
    }

    public Map<String, Object> getResult() {
        return result;
    }

    public void setResult(Map<String, Object> result) {
        this.result = result;
    }
}
